<template>
  <div>
    <div class="body">
      <!-- 头部 -->
      <div class="container header">
        <!-- logo -->
        <div class="logo">
          <img src="../../assets/logo.png" alt="" />
        </div>
        <!-- 导航 -->
        <div class="nav">
          <ul class="nav_list">
            <li>
              <router-link class="navTo" to="/index">首页</router-link>
            </li>
            <li>
              <router-link class="navTo" to="/layout/broker"
                >房产经纪</router-link
              >
            </li>
            <li>
              <router-link class="navTo" to="/layout/category"
                >地产分类</router-link
              >
            </li>
            <li>
              <router-link class="navTo" to="/layout/aboutUs"
                >关于我们</router-link
              >
            </li>
          </ul>
        </div>
      </div>
      <!-- 主体内容 -->
      <div class="main">
        <el-input
          suffix-icon="el-icon-search"
          v-model="input"
          placeholder="请输入内容"
        ></el-input>
      </div>
      <el-button round>搜索</el-button>
    </div>

    <!-- 底部 -->
    <div class="footer">
      <div class="container footer_info">
        <!-- 第一列 -->
        <dl>
          <dt>空山新雨后---天气晚来秋</dt>
          <dd>中国年轻一代用得更多的旅游网站</dd>
          <dd>上亿旅行者共同打造的"旅行神器"</dd>
          <dd>60,000 多个全球旅游目的地</dd>
          <dd>600,000 个细分目的地新玩法</dd>
          <dd>38,000 家旅游产品供应商</dd>
        </dl>
        <!-- 第二列 -->
        <dl>
          <dt>关于我们</dt>
          <dd>隐私政策商标声明</dd>
          <dd>服务协议</dd>
          <dd>商城平台服务协议</dd>
          <dd>网络信息侵权通知指引</dd>
          <dd>马蜂窝旅游网服务监督员</dd>
          <dd>网站地图加入马蜂窝</dd>
        </dl>
        <!-- 第三列 -->
        <dl>
          <dt>旅行服务</dt>
          <dd>旅游攻略&nbsp;&nbsp;&nbsp;&nbsp; 酒店预订</dd>
          <dd>旅游攻略&nbsp;&nbsp;&nbsp;&nbsp; 酒店预订</dd>
          <dd>旅游特价&nbsp;&nbsp;&nbsp;&nbsp; 国际租车</dd>
          <dd>旅游问答&nbsp;&nbsp;&nbsp;&nbsp; 旅游保险</dd>
          <dd>旅游指南&nbsp;&nbsp;&nbsp;&nbsp; 订火车票</dd>
        </dl>

        <!-- 扫码 -->
        <div class="qrCode">
          <img src="../../assets/images/5.jpg" alt="" />
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.body {
  height: 1000px;
  background-image: url(../../assets/images/th.jpg);
  background-position: center; // 将图片位置设置为充满整个屏幕
  background-size: cover;
  position: relative;
  .main {
    position: absolute;
    top: 200px;
    left: 400px;
    ::v-deep .el-input__inner {
      width: 600px;
      height: 50px;
      border-radius: 30px;
      font-size: 16px;
      padding-left: 30px;
    }

    ::v-deep .el-input__icon {
      margin-right: 20px;
      margin-top: 3px;
      font-size: 22px;
      font-weight: 700;
      color: #007daa;
    }
  }

  .el-button {
    background-color: aqua;
    position: absolute;
    top: 200px;
    left: 930px;
    height: 50px;
    opacity: 0;
  }
}
.container {
  width: 1200px;
  margin: 0 auto;
  // background-color: skyblue;
}

// 头部导航
.header {
  display: flex;
  height: 80px;
  // background-color: aquamarine;

  .logo {
    width: 80px;
    margin-right: 50px;
    padding: 5px;
    img {
      width: 100%;
      height: 100%;
    }
  }

  .nav {
    .nav_list {
      display: flex;
      height: 80px;
      line-height: 80px;
      font-size: 18px;

      li {
        .navTo {
          height: 80px;
          padding: 0 30px;
          display: block;
          color: #fff;
        }

        &:hover {
          .navTo {
            color: #ff9d00;
          }
        }
      }
    }
  }
}

// 主体
.main {
  height: 900px;
}

// 底部
.footer {
  height: 270px;
  background-color: #3c3c3c;
  .footer_info {
    padding: 40px 20px;
    color: #fff;
    display: flex;
    border-bottom: 1px solid #fff;
    dl {
      margin-right: 80px;
      dt {
        font-size: 16px;
        margin-bottom: 10px;
      }
      dd {
        font-size: 12px;
        line-height: 1.8;
      }
    }

    .qrCode {
      width: 250px;
      margin-top: 10px;
      margin-left: 30px;
      img {
        width: 100%;
      }
    }
  }
}
</style>